package com.kabigon.tiny.job;

import lombok.extern.slf4j.Slf4j;
import org.quartz.DisallowConcurrentExecution;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.springframework.scheduling.quartz.QuartzJobBean;

/**
 * @author xu.biao
 * @version v1.0
 * @Package com.kabigon.tiny.job
 * @data 2022/11/5 22:05
 */
@Slf4j
@DisallowConcurrentExecution
public class DemoJob02 extends QuartzJobBean {

    @Override
    protected void executeInternal(JobExecutionContext context) throws JobExecutionException {
        log.info("[executeInternal][我开始执行了]");
    }
}
